package com.itwk.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itwk.common.utils.PageUtils;
import com.itwk.gulimall.product.entity.PmsCategoryEntity;
import com.itwk.gulimall.product.vo.webVo.Catalog2List;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author wangke
 * @email wangke19970512@163.com
 * @date 2021-01-07 22:57:11
 */
public interface PmsCategoryService extends IService<PmsCategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PmsCategoryEntity> getCategoryTree();

    void delCategoryByIds(List<Long> asList);

    void updateRelation(PmsCategoryEntity pmsCategory);

    List<PmsCategoryEntity> getLevel1();

    Map<String,List<Catalog2List>> getCatalog2List();

}

